package com.itc.access.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itc.system.api.listener.RunWayCapacityMsg;
import org.apache.ibatis.annotations.Insert;

import java.util.List;

public interface RunWayCapacityMsgMapper extends BaseMapper<RunWayCapacityMsg> {

    @Insert("INSERT INTO atc_runway_capacity (id, batch_no, mode_name, out_capacity, in_capacity, total_capacity, heading, runway, run_mode, airport, pro_ab, capacity_id, interval_str, start_time, end_time, enabled_flag, ddtm, msgid, sndr, stype, type, ddtm2, stype2) " +
            "VALUES (#{id}, #{batchNo}, #{modeName}, #{outCapacity}, #{inCapacity}, #{totalCapacity}, #{heading}, #{runway}, #{runMode}, #{airport}, #{proAb}, #{capacityId}, #{interval}, #{startTime}, #{endTime}, #{enabledFlag}, #{ddtm}, #{msgid}, #{sndr}, #{stype}, #{type}, #{ddtm2}, #{stype2})")
    void addAll(RunWayCapacityMsg runWayCapacityMsg);}
